﻿using Ay.MvcFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace MPSystem.Models
{
   public class ConditonsModel: Model
    {
        private static   List<Dictionary<string, string>> _CondionListDic;

        public static List<Dictionary<string, string>> CondionListDic
        {
            get { return _CondionListDic; }
            set { _CondionListDic = value; }
           
        }
        public static string Global { get; set; }
        private static string _Name;

        /// <summary>
        /// 姓名
        /// </summary>
        public static string Name
        {
            get { return _Name; }
            set {  _Name=value; }

        }
        private static Conditons2 _Family;

        /// <summary>
        /// 未填写
        /// </summary>
        public static Conditons2 Family
        {
            get { return _Family; }
            set {   _Family=value; }
        }

        private static string _type;

        /// <summary>
        /// 类型
        /// </summary>
        public static string TYPE
        {
            get { return _type; }
            set { _type = value; }

        }
        /// <summary>
        /// 高级查询条件
        /// </summary>
        private Dictionary<string, string> _CondtionList;

        public Dictionary<string, string> CondtionList { get => _CondtionList; set => _CondtionList = value; }

        private static double _HomeHeight;
        public static double HomeHeight {
            get { return _HomeHeight; }
            set { _HomeHeight = value; }
        }

     

    }

    /// <summary>
    /// 第二级别条件参数
    /// </summary>
    public class Conditons2 : Model
    {
        private static string _Father;

        /// <summary>
        /// 未填写
        /// </summary>
        public static string Father
        {
            get { return _Father; }
            //set { Set(ref _Father, value); }
            set { _Father=value; }
        }

        private static string _Mother;

        /// <summary>
        /// 未填写
        /// </summary>
        public static string Mother
        {
            get { return _Mother; }
            set {   _Mother=value; }
        }



    }
}
